import type { AccessMenuItem } from "@/stores/access/types";
import createAxios from "../axios";
const axios = createAxios({
  baseURL : '/mock/auth'
});
export function getUserInfoApi () {
  return axios({
    method : 'get',
    url : '/user'
  })
}
export function getMenuList () {
  return axios<AccessMenuItem[]>({
    method : 'get',
    url : '/menu/list'
  })
}